package com.ht.guice.fx.fxthread;

import com.google.inject.AbstractModule;
import com.google.inject.matcher.Matchers;
import com.ht.guice.fx.FxApplicationThread;

/**
 * 
 * @author Benjamin p. Jung
 */
public final class FxApplicationThreadModule extends AbstractModule {

    @Override
    protected void configure() {
        bindInterceptor(
                Matchers.any(),
                Matchers.annotatedWith(FxApplicationThread.class),
                new FxApplicationThreadMethodInterceptor());
    }

}